package com.gec.it.entity;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author 雄哥爱吃肉
 * @since 2022-01-06
 */
@TableName("HP_POWER")
@KeySequence("SEQ_HP_POWER")
public class Power implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId( value = "POWER_ID",type = IdType.INPUT)
    private Integer id;

    @TableField("POWER_NAME")
    private String name;

    @TableField("POWER_DEPT_ID")
    private Integer deptId;

    @TableField("POWER_DOC_ID")
    private Integer docId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    @Override
    public String toString() {
        return "Power{" +
        ", id=" + id +
        ", name=" + name +
        ", deptId=" + deptId +
        ", docId=" + docId +
        "}";
    }
}
